import axios from "../axios/axios";

export const getTq = (params) => {
    return axios({
        url:'http://v1.yiketianqi.com/api',
        method:'GET',
        params
    })
}

export const getMap = (adcode) => {
    return axios({
        url:`https://geo.datav.aliyun.com/areas_v3/bound/${adcode}_full.json`
    })
}
//学生分配情况
export const getXsfp = () => {
    return axios({
        url:'http://localhost:3002/v1.0/api/intelligentDetection/data',
        method:'GET'
    })
}
//校园流动人口
export const getXyld = () => {
    return axios({
        url:'http://localhost:3002/v1.0/api/intelligentDetection/dataBottom',
        method:'GET'
    })
}
//用电
export const getYdsl = () => {
    return axios({
        url:'http://localhost:3002/v1.0/api/intelligentDetection/dataTop',
        method:'GET'
    })
}
